package com.sy.core.util;

public class BaseUUID {

    public static Sequence sequence = new Sequence(0, 0);

    public static long get() {
        return sequence.nextId();
    }

    /**
     * 主键生成
     * @return
     */
    public static String getUUID() {
        return new StringBuffer().append(get()).toString();
    }
}
